<div class="list-group">
    <a class="list-group-item list-group-item-action
    {:request()->action() == 'index' ? 'active':''} "
    href="{:url('User/index')}">会员中心</a>
    <a class="list-group-item list-group-item-action
    {:request()->action() == 'profile' ? 'active':''}
    " href="{:url('User/profile')}">个人资料</a>
    <a class="list-group-item list-group-item-action
    {:request()->action() == 'changepwd' ? 'active':''}
    " href="{:url('User/changePwd')}">修改密码</a>
    <a class="list-group-item list-group-item-action" href="{:url('User/logout')}">注销</a>
</div>